package com.xuecheng.manage_cms.dao;

import com.xuecheng.framework.domain.system.SysDictionary;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author zhaoxiang
 * @version 1.0
 * @Date 2019/10/31 11:14
 */
@Repository
public interface SysDictionaryDao extends MongoRepository<SysDictionary,String> {

    /**
     * //根据字典分类查询字典信息
     * @param dType 数据类型
     * @return
     */
    SysDictionary findDistinctByDType(String dType);
}
